{template('../public/header.html')}

<!--显示设置-->
<div class="subnav">
    <h1 class="title_2 line_x">显示设置</h1>
</div>
<div class="pad_10">
	<form id="info_form" action="{:u('setting/edit')}" method="post">
	<table width="100%" class="table_form">
        <tr>
            <th>首页瀑布流 :</th>
            <td>
                <label><input type="radio" {if siteCfg('index_wall')=1}checked="checked"{/if} value="1" name="setting[index_wall]"> {:L('open')}</label> &nbsp;&nbsp;
                <label><input type="radio" {if siteCfg('index_wall')=0}checked="checked"{/if} value="0" name="setting[index_wall]"> {:L('close')}</label>
            </td>
        </tr>
        <tr>
            <th>{:L('wall_distance')}</th>
            <td>
                <input type="text" name="setting[wall_distance]" class="input-text" value="{:siteCfg('wall_distance')}" />
                <span class="gray ml10">{:L('wall_distance_tip')}</span>
            </td>
        </tr>
        <tr>
            <th>{:L('wall_spage_max')} :</th>
            <td>
                <input type="text" name="setting[wall_spage_max]" class="input-text" value="{:siteCfg('wall_spage_max')}" />
                <span class="gray ml10">每页动态加载次数</span>
            </td>
        </tr>
        <tr>
            <th>{:L('wall_spage_size')} :</th>
            <td>
                <input type="text" name="setting[wall_spage_size]" class="input-text" value="{:siteCfg('wall_spage_size')}" />
                <span class="gray ml10">每次加载的商品个数</span>
            </td>
        </tr>
        <tr>
            <th>{:L('book_page_max')} :</th>
            <td>
                <input type="text" name="setting[book_page_max]" class="input-text" value="{:siteCfg('book_page_max')}" />
                <span class="gray ml10">发现页面最多显示页数</span>
            </td>
        </tr>
	</table>
    {template('../public/_submit.html')}
	</form>
</div>
{template('../public/footer.html')}
</body>
</html>